package com.hub.realtime.resource.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hub.realtime.resource.domain.ResJarManagement;
import com.hub.realtime.resource.dto.input.JarManagementQueryParam;
import com.hub.realtime.resource.dto.input.UploadQueryParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * Jar包管理Service接口
 *
 * @author wupeng
 * @date 2022-01-14
 */
public interface IResJarManagementService extends IService<ResJarManagement> {
    Page<ResJarManagement> list(JarManagementQueryParam param);

    int saveInfo(ResJarManagement jarManagement);

    int deleteInfos(Long[] ids);

    String createUploadFile(MultipartFile file, Long applicationId);

    void removeHdfsTmp(UploadQueryParam uploadQueryParam);


    List<ResJarManagement> getJarListByAppId(Long applicationId);

}
